Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wayland capture on nvidia for kms #884

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

himekifee
Copy link
Contributor

Description

Following #649, I added the same code for kmsgrub which from my testing works pretty well

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

@CLAassistant
Copy link

CLAassistant commented Feb 3, 2023

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot changed the base branch from master to nightly February 3, 2023 10:07
@github-actions
Copy link

github-actions bot commented Feb 3, 2023

Your PR was set to master, PRs should be sent to nightly.
The base branch of this PR has been automatically changed to nightly.
Please check that there are no merge conflicts

@KuleRucket
Copy link
Contributor

KuleRucket commented Feb 3, 2023

I confirm this works great and I can stream from Wayland now.

The performance of KMS + Wayland is a bit disappointing compared to x11+nvfbc. I can only reach ~85fps instead of 120fps even though the encoder isn't working very hard and mouse/keyboard are very laggy. It's probably just nvidia's fault.

@zastrixarundell
Copy link

+1

Streaming now actually works on wayland + nvidia without any issues. I don't go over 60FPS so I can't vouch for the performance of higher FPS but that's probably due to KMS and not due to this patch

@ReenigneArcher ReenigneArcher merged commit d2461e1 into LizardByte:nightly Feb 5, 2023
kelvie added a commit to kelvie/Sunshine that referenced this pull request Jan 24, 2024
…y_ram_t"

This reverts commit ebe01ce.

Looks like this commit undos the fix for LizardByte#649, in PR LizardByte#884.
kelvie added a commit to kelvie/Sunshine that referenced this pull request Jan 25, 2024
…y_ram_t"

This reverts commit ebe01ce.

Looks like this commit undos the fix for LizardByte#453, see also PRs LizardByte#649 and LizardByte#884.

This also adds a comment so hopefully it doesn't get removed again in
the future (or a proper fix is found).
kelvie added a commit to kelvie/Sunshine that referenced this pull request Jan 26, 2024
…y_ram_t"

This reverts commit ebe01ce.

Looks like this commit undos the fix for LizardByte#453, see also PRs LizardByte#649 and LizardByte#884.

This also adds a comment so hopefully it doesn't get removed again in
the future (or a proper fix is found).
cgutman pushed a commit that referenced this pull request Jan 26, 2024
…y_ram_t"

This reverts commit ebe01ce.

Looks like this commit undos the fix for #453, see also PRs #649 and #884.

This also adds a comment so hopefully it doesn't get removed again in
the future (or a proper fix is found).
KuleRucket pushed a commit to KuleRucket/Sunshine that referenced this pull request Jun 6, 2024
…y_ram_t"

This reverts commit ebe01ce.

Looks like this commit undos the fix for LizardByte#453, see also PRs LizardByte#649 and LizardByte#884.

This also adds a comment so hopefully it doesn't get removed again in
the future (or a proper fix is found).
e-dong pushed a commit to e-dong/Sunshine that referenced this pull request Jul 26, 2024
…y_ram_t"

This reverts commit ebe01ce.

Looks like this commit undos the fix for LizardByte#453, see also PRs LizardByte#649 and LizardByte#884.

This also adds a comment so hopefully it doesn't get removed again in
the future (or a proper fix is found).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Black screen when streaming, Error: GL: ~/Sunshine/src/platform/linux/graphics.cpp:529: [00000501]
5 participants